<extend name="work/baseuser"/>
<block name="content">
        <table class="layui-table text-center" id="list" lay-filter="list"
               list-url="{:url('/home/order/runorderlists')}"
               edit-url="{:url('/home/productmain/index')}"
        ></table>
    <!-- end case-content -->
</block>
<block name="script">
    <script type="text/html" id="barDemo">
        <a class="layui-btn  layui-btn-xs " lay-event="edit"><i class="fa fa-pencil"></i>管理</a>
    </script>
    <script type="text/javascript">
        layui.use(['carousel', 'jquery', 'element', 'table', 'layer'], function () {
            var carousel = layui.carousel
                , element = layui.element
                , layer = layui.layer
                ,table=layui.table
                , $ = layui.$;
            table.render({
                elem: '#list'
                , url: "{:Url('/home/order/runorderlists')}"
                , page: true
                , limit: 20
                , cols: [[
                    {field: 'title',  width: 120,title: '产品'}
                    , {field: 'e_time', width: 115, title: '截止时间'}
                    , {field: 'domain',  title: '分配域名/自定义域名'}
                    , {field: 'info', title: '说明' }
                    ,{fixed: 'right', width:60,title:'操作',  toolbar:'#barDemo'}
                ]]
            });
            $('.app-header-menuicon').on('click', function () {
                $('.header-down-nav').toggleClass('down-nav')
            })

        });
    </script>
</block>